cmake_minimum_required(VERSION 3.17)
project(CMakeStudy)

set(CMAKE_CXX_STANDARD 14)

SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

install(FILES COPYRIGHT README DESTINATION ${PROJECT_SOURCE_DIR}/share/doc/cmake/t2)
install(PROGRAMS runhello.sh DESTINATION ${PROJECT_SOURCE_DIR}/bin)
install(DIRECTORY doc/ DESTINATION ${PROJECT_SOURCE_DIR}/share/doc/cmake/t2)




SET(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/share/)

add_subdirectory(src)
add_subdirectory(test)